﻿using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Text;

namespace BusinessEntity
{
    /// <summary>
    /// json属性值转为日期,
    /// </summary>
    public class DateConverter : IsoDateTimeConverter
    {
        /// <summary>
        /// 类构造
        /// </summary>
        public DateConverter()
        {
            base.DateTimeFormat = "yyyy-MM-dd";
        }
    }

}
